package org.pinda.network;

/**
 * Types of connections that can be established to the server
 * @author Johnnei
 *
 */
public enum ConnectionType {
	
	UPDATE(0),
	SERVER_BROWSER(1),
	GAME(2);
	
	private byte handshakeId;
	
	private ConnectionType(int handshakeId) {
		this.handshakeId = (byte)handshakeId;
	}
	
	public byte getHandshakeId() {
		return handshakeId;
	}

}
